Skip to content

fix(native-chat): recover loopback relay 401 failures and isolate test codex_home - #9167

Merged
loopx-agent merged 1 commit into
mainfrom
codex/cs-notes-bot-routing-recovery-20261121
Nov 21, 2026
Merged

loopx-agent merged 1 commit into
mainfrom
codex/cs-notes-bot-routing-recovery-20261121

Conversation

@loopx-agent

Copy link
Copy Markdown
Collaborator

Summary

  • Test isolation: Isolate LOOPX_CHAT_CODEX_HOME and CODEX_HOME inside tmp_path / "codex-home" in tests/test_steward_interrupted_answer.py::test_original_worker_answers_interrupted_steward_question_once so the [authenticated-host] fault never overwrites the operator's live ~/.codex-gpt/auth.json.
  • Loopback relay 401 readback & readiness check: In loopx/capabilities/native_chat/codex_adapter.py and external_conversations.py, recognize pre-execution httpConnectionFailed / responseStreamConnectionFailed HTTP 401 errors emitted specifically by the local OpenAI fallback relay (http://127.0.0.1:<port>/(steward/)v1/responses), verify live NativeAccounts / openai_relay transport readiness (relay_transport_ready + integer-second relay_observed_at), and pass runtime_root and consumer from external_conversations.py.
  • Typed recovery admission (conversation_binding.ts): Extend planRoutingRecovery so pre-execution loopback relay 401 failures (upstream_transport_failure with only pre-execution items and fresh verified relay_transport_ready: true within 120s) admit bounded -routing-N recovery for both project (workspace_write / workspace_read) and steward conversations, while keeping generic 401/5xx/responseStreamDisconnected failures closed.

Validation

  • node --experimental-strip-types --test tests/control_plane_ts/conversation_binding.test.ts: 69 passed, 0 failed.
  • uv run --extra test python -m pytest tests/test_lark_private_conversations.py -k "test_project_workspace_write_recovers_loopback_relay_auth_once_ready" -q: 2 passed.
  • uv run --extra test python -m pytest tests/test_chat_agent.py tests/test_chat_codex_auth.py tests/test_private_chat_routing_recovery.py tests/test_steward_interrupted_answer.py -q: 799 passed, 6 skipped.
  • uv run --extra test ruff check ...: passed.
  • uv run --extra test loopx canary premerge --from-git-diff --git-diff-base origin/main --tier quick: passed (selected=2, failures=0, manual_holds=0).

@loopx-agent loopx-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent; self_reported; declared_model=Gemini; declared_provider=Google

Approval conclusion (author-owned PR; GitHub blocks formal self-approval)

动机 / Motivation

运行内置集成测试的使用者以及托管的 Codex 对话绑定操作者在本地运行测试或使用本地 OpenAI API relay 时会受影响。修改前运行集成测试会向宿主环境变量指向的认证文件写入合成凭据,导致实时本地 OpenAI API relay 返回 HTTP 401 Unauthorized 并以 upstream_transport_failure 中断,而既有恢复链路拒绝所有 401 致使请求卡死;修改后测试凭据隔离到临时目录,且仅对命中本地回环 relay 401、零业务副作用并经实时就绪探测确认恢复的请求通过既有 routing 通道自动补跑。测试不再污染宿主机认证文件;本地回环 relay 401 失败在通道未就绪时继续挂起,在就绪且退避期满后自动通过 routing 通道投递完整答复。不开放外部 API 域名 401、HTTP 5xx 或通用 responseStreamDisconnected 的自动重放,也不修改 Antigravity 路径、quota 冷却或权限边界。线上运行实例尚未升级并实测补发历史阻塞消息,需在合并并重启线上服务后单独验证。

改动思路 / Approach

Codex Turn failed (upstream_transport_failure)
  -> CodexAppServerAdapter.failed_request_observation(runtime_root, consumer)
     -> failed_request_readback(): _loopback_api_fallback_auth_failure(error)?
        |-- NO  --> generic 401 / external URL: return None (fail-closed)
        |-- YES --> allow latest-turn contextCompaction only; mark loopback_relay_auth_failure=True
                    -> _loopback_relay_transport_ready(runtime_root, codex_home, consumer)
                       -> verify login_matches + relay health + api_keys OR available slot
                       -> attach relay_transport_ready + integer-sec relay_observed_at
                          -> planRoutingRecovery() in conversation_binding.ts
                             -> check source_verified, pre_execution_items, relay_transport_ready=true, age<=120s

(说明:以上为基于 head 1bf67828f478bc5e52e619e49ed362c45b9d05f0 源码推导的分支控制流示意,非独立执行 Trace。)

复用既有 failed_request_readback 与 TS planRoutingRecovery 的 pre_execution 恢复骨架,仅在 adapter 观察与控制面门槛中增加精确的本地回环 401 判定与实时就绪检查,避免另起恢复状态机。 当前 PR 的边界为:tests/test_steward_interrupted_answer.py 隔离测试环境;codex_adapter.py 与 external_conversations.py 读取并验证本地 relay 就绪度;conversation_binding.ts 的 planRoutingRecovery 仅放行带新鲜就绪证明的 pre-execution 本地 relay 401。 整体沿用既有「Python 只读观测 + TypeScript 控制面唯一准入 + 原队列受控入队」设计,既修掉测试写坏宿主机凭据的根因,又让已中断或短暂失联后的本地回环 401 请求能安全自愈。

具体改动 / Changes

  1. 测试环境隔离(tests/test_steward_interrupted_answer.py):在 test_original_worker_answers_interrupted_steward_question_once 调用 steward.__wrapped__(tmp_path) 前,显式将 LOOPX_CHAT_CODEX_HOME 与 CODEX_HOME 重定向至 tmp_path / "codex-home",阻断 [authenticated-host] 用例改写宿主机 live auth.json。
  2. 本地回环 401 识别与实时健康探测(loopx/capabilities/native_chat/codex_adapter.py、loopx/capabilities/native_chat/external_conversations.py):
    • _loopback_api_fallback_auth_failure 复用 _retry_error_details 提取单变体 httpConnectionFailed / responseStreamConnectionFailed (httpStatusCode == 401),要求消息含精确哨兵与 , url: ...,并通过 urllib.parse.urlsplit 限缩到 http://127.0.0.1:<1024..65535>/(steward/)v1/responses,对外部 URL 与非 401 状态返回 None。
    • failed_request_readback 将 loopback_relay_auth_failure 纳入与 pre_execution_routing_timeout 同等的 only_pre_execution_items 约束,仅当该 Turn 为线程最新 Turn 时允许 contextCompaction 记账项;任何工具、回答、未知 item 或旧 Turn 压缩仍返回 None。
    • _loopback_relay_transport_ready 核验 NativeAccounts 中 adapter.profile.home 与目标 codex_home 一致、login_matches is True 且 recovery_required is False,随后按当前路由检验 openai_relay.healthy + 可用 API key 候选或已恢复的订阅槽位可用性;捕获 HostError 等异常确保 fail-closed,并将 relay_observed_at 取整秒避免 JS Date.parse() 亚毫秒截断引发的假阴性。CodexAppServerAdapter.failed_request_observation 新增可选 runtime_root 与 consumer 参数,并在 ChatExternalConversations.recover_failed_request 中传入真实 self.controller.coordination_runtime_root 与 consumer。
  3. 控制面准入(loopx/control_plane/collaboration/conversation_binding.ts):planRoutingRecovery 新增 loopbackRelayAuth 条件,仅放行 upstream_transport_failure 且 loopback_relay_auth_failure === true、httpStatusCode === 401、only_pre_execution_items === true、relay_transport_ready === true 与 0..120s 新鲜观测窗,支持 project(含 workspace_write)与 steward 会话。
  4. 单测与集成测试(tests/test_chat_agent.py、tests/control_plane_ts/conversation_binding.test.ts、tests/test_lark_private_conversations.py):验证正例恢复与外部域名、非 401、旧轮次压缩、工具副作用及未就绪挂起等反例。

对主干的风险 / Risks

  • 误重放与无限循环风险:仅对本地 127.0.0.1 fallback relay 精确 401 放行,通用断连与外部 API key 401 维持 fail-closed;若本地认证仍未修复,login_matches 或 healthy 返回 False 会阻止恢复队列入队;且恢复次数上限仍为 attempt <= 3 与 [60s, 120s, 240s] 退避。
  • 兼容性与默认值影响:failed_request_observation 新参数默认关闭(runtime_root=None 时 relay_transport_ready=False),既有调用方与历史单测不受影响;无持久化状态枚举或公共协议版本改动。
  • 验证覆盖与残留局限:tests/test_lark_private_conversations.py 仅运行了本次新增的双参数端到端用例(配合全量 tests/test_private_chat_routing_recovery.py 等 799 用例);测试中 _loopback_relay_transport_ready 在端到端用例里使用了受控桩返回就绪状态,真实守护进程联动将在合入升级后由线上消息实测验证;远程 GitHub CI 依 Goal 配置 wait_for_ci: false 未查询。

我的整体评价 / Verdict

长程效果评价为 improved(消除测试污染与本地回环 401 永久卡死),用户体验评价为 improved(受影响请求在通道恢复后可自动完成回复)。本 PR 仅改动后台控制面、适配器与测试代码,不涉及 UI 页面渲染,故 visual_review 为 not_applicable(检查路径:loopx/capabilities/native_chat/codex_adapter.py、loopx/capabilities/native_chat/external_conversations.py、loopx/control_plane/collaboration/conversation_binding.ts),无界面未验证域(unverified_scope: none)。

代码体积判断为 necessary(净增约 90 行产品代码 + 190 行测试代码),兼容边界保持前向兼容(co_deployed 且可选参数 fail-closed);既有 pre_execution_routing_timeout、usageLimitExceeded 与通用断连语义在 2b6dfe0a70 与 1bf67828f478bc5e52e619e49ed362c45b9d05f0 间完全保持等价;语义对齐为 aligned(复用 upstream_transport_failure 与 routing 恢复族,新增观察键仅限本地负载消费)。

实测结论:conversation_binding.test.ts PASS (69/69);test_lark_private_conversations.py 新集成用例 PASS (2/2);test_chat_agent.py + test_chat_codex_auth.py + test_private_chat_routing_recovery.py + test_steward_interrupted_answer.py PASS (799 passed, 6 skipped);ruff check PASS;loopx canary premerge --tier quick PASS (2/2 canaries)。综合当前 head 1bf67828f478bc5e52e619e49ed362c45b9d05f0 无阻断缺陷,予以通过。

英文简短结论

English verdict: APPROVE PR #9167 at head 1bf6782 — isolated test codex_home and bounded loopback API-fallback 401 routing recovery verified across TS control-plane tests (69/69 PASS), targeted Python unit/integration tests (799+2 PASS), ruff PASS, and quick canary premerge PASS.

@loopx-agent
loopx-agent merged commit ab4654b into main Nov 21, 2026
12 of 15 checks passed
@loopx-agent
loopx-agent deleted the codex/cs-notes-bot-routing-recovery-20261121 branch November 21, 2026 05:14
loopx-agent added a commit that referenced this pull request Nov 21, 2026
* fix(cli): preserve typed runtime diagnostics in Turn failures

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): support per-endpoint model preferences and Codex-to-Antigravity failover (#9141)

Signed-off-by: LoopX Agent <[email protected]>

* Keep the prepared Chat adapter available to a retry (#9134)

A failed worker start can finish cleanup after a same-turn retry has
selected the adapter. Keep its lifetime tied to the Session and let
failed dispatch release its own worker registration. The regression
asserts one upstream turn and explicit adapter closure with the Session.

Port the fix from 4453e4bdd77486ec14b952f88ca893310b32e26c.

(cherry picked from commit 173e42b4f051b885c3a3389e1cad9c5722f7b7dd)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover zero-effect monitors and cleared-replan reports (#9143)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): admit flexible_primary_available executor transitions in conversation_scope (#9145)

Signed-off-by: LoopX Agent <[email protected]>

* Verify quota gate scope through signed lane references (#9101)

* test(quota): verify scoped gates through complete lane references

Signed-off-by: LoopX Agent <[email protected]>

* Test canonical quota gates in both public response modes

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Test C1 planning and Host input from the original quota capture (#9102)

* Use recorded quota decisions in the no-Todo settlement regression

Signed-off-by: LoopX Agent <[email protected]>

* Exercise the complete Host prompt from the captured quota source

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Prepare the CLI budget baseline with a private Git index (#9103)

Signed-off-by: LoopX Agent <[email protected]>

* Exercise C1 Goal delivery and bound replan from the saved source (#9104)

Signed-off-by: LoopX Agent <[email protected]>

* Keep long claim overlap scopes on demand (#9086)

* Link long thin-claim overlap lists to their receipts

Signed-off-by: LoopX Agent <[email protected]>

* Read claim overlap details without copying the lease

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): preserve explicit Monitor Todo selection (#9099)

Carry Todo selection provenance into quota admission. Preserve explicit secondary Monitor polling and recovery from previously admitted receipts.

Signed-off-by: LoopX Agent <[email protected]>

* Keep ready Todo scope details on the required context read (#9106)

Signed-off-by: LoopX Agent <[email protected]>

* Fix archive rollback with custom install directories (#9066)

* refactor(core): defer benchmark implementations during capability discovery

Preserve the benchmark toolkit public exports and static types while keeping execution and experiment implementations out of metadata discovery. Qualify source and installed Core paths, and reconcile the paired minimal/Standard RFC boundary without changing activation or authority defaults.

Signed-off-by: cicolord <[email protected]>

* Defer Yardstick evaluation until an enabled Explore read

Signed-off-by: cicolord <[email protected]>

* Omit empty Todo summary lanes from ordinary Worker context

Signed-off-by: cicolord <[email protected]>

* fix(update): honor configured archive directories during rollback

Signed-off-by: LoopX Agent <[email protected]>

* fix(lark): replay recall guard on current main

Signed-off-by: huangruiteng <[email protected]>

* docs: record the verified LoopX 2.3.0 release baseline

Signed-off-by: LoopX Agent <[email protected]>

* Preserve quota spend source when prepared work is admitted

Signed-off-by: LoopX Agent <[email protected]>

* test(quota): qualify native saved complete-Turn checkpoints

Signed-off-by: LoopX Agent <[email protected]>

* Retry cleanup of an owned file mutation marker

Signed-off-by: LoopX Agent <[email protected]>

* Keep synthetic Git-path test data outside the public source scan

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): share native preparation wait with readiness

Signed-off-by: LoopX Agent <[email protected]>

* fix(doctor): bind package update readback to its Python environment

Signed-off-by: LoopX Agent <[email protected]>

* Keep Doctor discovery separate from service activation

Signed-off-by: LoopX Agent <[email protected]>

* Verify the recorded Python launcher before Doctor probes it

Signed-off-by: LoopX Agent <[email protected]>

* fix(desktop): require runtime qualification for macOS preview updates

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): reuse replan projection owners during recovery

Signed-off-by: LoopX Agent <[email protected]>

* Qualify Codex 0.169 native context replay on main

Signed-off-by: LoopX Agent <[email protected]>

* Stop regenerating retired quota view aliases

Signed-off-by: LoopX Agent <[email protected]>

* fix: pin deferred native context reads to the original capture

Signed-off-by: LoopX Agent <[email protected]>

* Keep native capture navigation within small output budgets

Signed-off-by: LoopX Agent <[email protected]>

* Retire legacy heartbeat work prompt generation

Signed-off-by: LoopX Agent <[email protected]>

* Capture C1 composition failures as receipt diagnostics

Signed-off-by: LoopX Agent <[email protected]>

* Recover interrupted native Todo readiness from the original Turn

Signed-off-by: LoopX Agent <[email protected]>

* Revalidate the original lease before publishing resumed native context

Signed-off-by: LoopX Agent <[email protected]>

* Fence native readiness publication with the canonical lease writer

Signed-off-by: LoopX Agent <[email protected]>

* fix(scheduler): keep Codex fallback on the original C1 runtime

Signed-off-by: LoopX Agent <[email protected]>

* fix(scheduler): pin the originating fallback launchers

Signed-off-by: LoopX Agent <[email protected]>

* Retire the duplicate Codex App scheduler projection

Signed-off-by: LoopX Agent <[email protected]>

* Seed the recorded scheduler profile in the elapsed-backoff fixture

Signed-off-by: LoopX Agent <[email protected]>

* Verify canonical cadence on refused and settled Turns

Signed-off-by: LoopX Agent <[email protected]>

* Pin named Core commands in saved scheduler fallbacks

Signed-off-by: LoopX Agent <[email protected]>

* fix(research): preserve saved case addresses when a version cannot open

Signed-off-by: LoopX Agent <[email protected]>

* Preserve citation focus after a saved study refresh

Signed-off-by: LoopX Agent <[email protected]>

* Capture authenticated LoopX receipts for Research attention (#8790)

* feat(research): capture authenticated LoopX attention receipts

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* fix(research): tighten attention receipt provenance

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* fix(research): publish attention captures after source validation

Signed-off-by: huangruiteng <[email protected]>

---------

Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>
Co-authored-by: huangruiteng <[email protected]>

* Recover the original Session and Turn from a confirmed Chat task

Signed-off-by: huangruiteng <[email protected]>

* perf(lark,native_chat): eliminate redundant full-directory JSON reparsing in steward chat loops (#9041)

* perf(lark,native_chat): avoid full directory reparsing in steward chat loops

- Make LarkOwnerAttention._route iterate capture candidates lazily so matching stops at the newest valid p2p capture.
- Reuse FileChatDiscovery in PrivateIngressObserver._records while preserving strict field validation and fail-closed errors.
- Reuse FileChatDiscovery in ChatExternalConversations.pending so unchanged request journals skip redundant JSON reads and stay mutation-isolated.
- Add regression and scan-efficiency tests in tests/test_lark_steward_directory_scan_perf.py.

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): project small recovery metadata fields to stop data_url memory growth

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Retire transitional smoke checks and duplicate execution (#9073)

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* feat(steward): support probe-gated generic continuous_monitor todos with handoff and user actions (#9074)

Signed-off-by: LoopX Agent <[email protected]>

* Remove redundant defensive prose from prompts and comments (#9072)

Remove redundant defensive prose while preserving published heartbeat wrappers and externally managed skill readiness.

Validated with 197 related tests, independent historical wrapper migrations and negative cases, installed-skill readback, and current-main quick canary. Existing CI qualification and infrastructure limitations remain recorded in PR #9072.

Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>

* Keep original Chat retry errors visible during receipt refresh

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): tolerate report validator python drift and allow cancel of mid-turn failed reports (#9077)

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): add exact-head PR review signals and protected merge confirmation (#9081)

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): add isolated OpenViking long-term memory with per-speaker boundaries (#9083)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(content-ops): slim surface module and eliminate Any (#8961)

* refactor(content-ops): slim surface module and eliminate Any

Signed-off-by: LoopX Agent <[email protected]>

* fix(content-ops): reject malformed angle source_item_ids containers

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(collaboration): batch handoff query Goal lifetime guard lock per Goal (#9085)

Signed-off-by: LoopX Agent <[email protected]>

* fix(hosts): raise managed service startup readiness timeout to 45s (#9087)

Signed-off-by: LoopX Agent <[email protected]>

* perf(manager-context): memoize history_inspect lifecycle checks and scope runtime revision in handoffs query (#9088)

Eliminate the remaining O(N) Effect runtime RPCs and uncached runtime fingerprinting inside tracking.query(): enter effect_runtime_request_scope() for the query, memoize pure history_inspect lifecycle decisions across entries sharing identical Goal refs while holding the Goal lifetime guard, lazily discover legacy ingress files only when external audience recovery needs them, and preserve entry scan order across Goal batches.

Signed-off-by: LoopX Agent <[email protected]>

* refactor(lark): slim private_conversations below 2000 lines with net LOC reduction (#8929)

Signed-off-by: LoopX Agent <[email protected]>

* perf(chat,hosts): skip frontend source re-hashing on immutable installed releases and extend readiness timeout to 90s (#9089)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(control-plane): split and slim quota monitor_poll_commit (#8885)

* refactor(control-plane): split and slim quota monitor_poll_commit

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): preserve legacy lane budget and observation diagnostic order

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* refactor(quota): slim loopx/quota.py and tighten Any count to zero (#8939)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(native-chat): slim external_conversations below 2k lines and retire ceiling (#8911)

* refactor(native-chat): move steward commission mixin to steward_commands and retire external_conversations ceiling

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): respect include_raw_response in retained result recovery

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* refactor(chat): slim chat_runtime below 1,500 lines, fix entry-point project_contexts guard, and retire ceiling (#8920)

* refactor(chat): move session lifecycle mixin to session_open, deduplicate runtime helpers, and retire ceiling

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): drop turn_done_events slot before waking waiters on Thread.start failure

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): paginate open PR signal GraphQL, allow signal-unavailable monitor recovery, and cache private delivery scans (#9093)

Signed-off-by: LoopX Agent <[email protected]>

* perf(lark,native_chat): back off noop recovery retries and cache recovery lookups (#9096)

Signed-off-by: LoopX Agent <[email protected]>

* perf(native_chat,lark): cache unchanged quota backlog health and interrupt observations (#9098)

Signed-off-by: LoopX Agent <[email protected]>

* perf(lark,native_chat): coalesce listener snapshots and cache recovery event summaries (#9100)

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: cicolord <[email protected]>
Signed-off-by: LoopX Agent <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>
Co-authored-by: cicolord <[email protected]>
Co-authored-by: huangruiteng <[email protected]>
Co-authored-by: Lusen Dong <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* refactor(issue-fix): consolidate maintainer-correction admission and slim pr_lifecycle (#8897)

Signed-off-by: LoopX Agent <[email protected]>

* Fix truncated requests and responses in the Codex API relay (#8713)

* fix(codex relay): fence incomplete model requests before drain

Signed-off-by: LoopX Agent <[email protected]>

* fix(codex relay): surface incomplete upstream responses

Port the verified response framing fix to the request-admission branch. Original candidate 27bc3aee311cdfc6a00466ff9d3b58c7db36e01b.

Signed-off-by: LoopX Agent <[email protected]>

* Bound Codex relay writes to clients that stop reading

Signed-off-by: LoopX Agent <[email protected]>

* Reject upstream chunked responses missing the trailer terminator

Signed-off-by: LoopX Agent <[email protected]>

* Validate upstream chunk data delimiters before relay completion

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): repair dsh closeout test, antigravity failover alias, and release download retry (#9147)

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): update v2.4.0 release notes and dsh-loopx-plugin 0.1.1-beta.7 README (#9149)

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): recover saved answers and diagnose lost workers (#9120)

* fix(chat): recover saved answers and diagnose lost workers

Signed-off-by: LoopX Agent <[email protected]>

* style(lark): keep private_conversations within module line budget

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): retain execution_worker_exited in pending backlog count

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): resume steward requests lost before dispatch (#9125)

Signed-off-by: LoopX Agent <[email protected]>

* fix(benchmark): restore frozen v1 archives and align checkpoint/runtime tests with C1 defaults (#9151)

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): stabilize CLI help, architecture guards, onboarding gate, and public smokes (#9152)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover report selection across python upgrades and prevent queue kill on observation monitors (#9155)

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): align extensions, chat, presentation, and transport tests for v2.4.0 (#9156)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 quota, turn-envelope, and capabilities slice (Slice B1) (#9154)

* fix(control-plane): stabilize v2.4.0 quota, turn-envelope, and capabilities slice

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): preserve tokenless identity and exact numeric types in attach_complete_turn_context

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover frozen report contract failures and rebind resumed task leases (#9157)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover pre-dispatch runtime failures across endpoints and stop receipt-unknown disk churn (#9159)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control_plane): align lease recovery, settlement readback, and runtime fixtures (#9158)

* fix(control_plane): align lease recovery, settlement readback, and runtime fixtures

Signed-off-by: LoopX Agent <[email protected]>

* fix(control_plane): forward record_capture in worker outage test and harden version type guard

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 explore, context, and checkpoint tail slice (Slice B4) (#9161)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 replan, monitor recovery, and staged-read slice (Slice B5) (#9160)

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): reconcile final v2.4.0 stabilization PRs and boundary wording (#9162)

* docs(release): reconcile final v2.4.0 stabilization PRs and boundary wording

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): align #9158 and #9161 descriptions with verified commits

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): tolerate minor JSON delimiter glitches and recover saved report candidates (#9164)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): preserve bound yardstick reversals in native replan openings (#9165)

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): recover loopback relay 401 failures and isolate test auth (#9167)

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>
Signed-off-by: cicolord <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>
Co-authored-by: cicolord <[email protected]>
Co-authored-by: huangruiteng <[email protected]>
Co-authored-by: Lusen Dong <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant